package com.etc.entity;

import java.util.List;

public class CategoryListing {
    int cid;
    String ctitle;
    List<CategoryListing> xj;
    int parent_id;


    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCtitle() {
        return ctitle;
    }

    public void setCtitle(String ctitle) {
        this.ctitle = ctitle;
    }

    public List<CategoryListing> getXj() {
        return xj;
    }

    public void setXj(List<CategoryListing> xj) {
        this.xj = xj;
    }
    @Override
    public String toString() {
        return "Category{" +
                "cid=" + cid +
                ", ctitle='" + ctitle + '\'' +
                ", xj=" + xj +
                ", parent_id=" + parent_id +
                '}';
    }
}
